import {NgModule}      from '@angular/core';
import {NgbModule}     from '@ng-bootstrap/ng-bootstrap';
import {BrowserModule} from '@angular/platform-browser';
import {FormsModule}   from '@angular/forms';
import {HttpModule}    from '@angular/http';


import {AppComponent}   from './app.component';
import {AppRoutingModule}     from './app-routing.module';
import {ArticleComponent} from "./article/article.component";
import {ArticleEditorComponent} from "./article/childComponents/articleEditor.component"
import {ArticleDetailComponent} from "./article/childComponents/articleDetail.component"
import {ArticleUploadComponent} from "./article/childComponents/articleUpload.component"

@NgModule({
    imports: [
        BrowserModule,
        FormsModule,
        HttpModule,
        NgbModule.forRoot(),
        AppRoutingModule,
    ],
    declarations: [AppComponent,ArticleComponent,ArticleEditorComponent,ArticleDetailComponent,ArticleUploadComponent],
    bootstrap: [AppComponent]
})
export class AppModule {
}
